#pragma once
#include <nice2d/piece/piecescene.h>
#include <nice2d/actions/sequenceaction.h>

class PieceMoveSequenceAction : public SequenceAction
{
    DECLARE_OBJECT(PieceMoveSequenceAction)
public:
    PieceMoveSequenceAction() = delete;
    PieceMoveSequenceAction(std::shared_ptr<PieceScene> scene);
    ~PieceMoveSequenceAction();
public:
    void setMoveSequence(const std::vector<sf::Vector2i>& sequences,float duration);
private:
    std::unique_ptr<class PieceMoveSequenceActionData> data;
};
